package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author ZQW
 */
public class Checkapply extends Model<Checkapply> {

private static final long serialVersionUID=1L;

    /**
     * ID主键
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    /**
     * 病历ID
     */
    @TableField("MedicalID")
    private Integer MedicalID;

    /**
     * 挂号ID
     */
    @TableField("RegistID")
    private Integer RegistID;

    /**
     * 项目ID
     */
    @TableField("ItemID")
    private Integer ItemID;

    /**
     * 项目名称
     */
    @TableField("Name")
    private String Name;

    /**
     * 目的要求
     */
    @TableField("Objective")
    private String Objective;

    /**
     * 检查部位
     */
    @TableField("Position")
    private String Position;

    /**
     * 是否加急 1为加急 0为不加急
     */
    @TableField("IsUrgent")
    private Integer IsUrgent;

    /**
     * 数量
     */
    @TableField("Num")
    private Integer Num;

    /**
     * 开立时间
     */
    @TableField("CreationTime")
    private Date CreationTime;

    /**
     * 开立医生ID
     */
    @TableField("DoctorID")
    private Integer DoctorID;

    /**
     * 检查人员ID
     */
    @TableField("CheckOperID")
    private Integer CheckOperID;

    /**
     * 结果录入人员ID
     */
    @TableField("ResultOperID")
    private Integer ResultOperID;

    /**
     * 检查时间
     */
    @TableField("CheckTime")
    private Date CheckTime;

    /**
     * 检查结果
     */
    @TableField("Result")
    private String Result;

    /**
     * 结果时间
     */
    @TableField("ResultTime")
    private Date ResultTime;

    /**
     * 状态
     */
    @TableField("State")
    private Integer State;

    /**
     * 记录类型 1-检查 2-检验 3-处置
     */
    @TableField("RecordType")
    private Integer RecordType;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getMedicalID() {
        return MedicalID;
    }

    public void setMedicalID(Integer MedicalID) {
        this.MedicalID = MedicalID;
    }

    public Integer getRegistID() {
        return RegistID;
    }

    public void setRegistID(Integer RegistID) {
        this.RegistID = RegistID;
    }

    public Integer getItemID() {
        return ItemID;
    }

    public void setItemID(Integer ItemID) {
        this.ItemID = ItemID;
    }

    public String getName() {
        return Name;
    }

    public void setName(String Name) {
        this.Name = Name;
    }

    public String getObjective() {
        return Objective;
    }

    public void setObjective(String Objective) {
        this.Objective = Objective;
    }

    public String getPosition() {
        return Position;
    }

    public void setPosition(String Position) {
        this.Position = Position;
    }

    public Integer getIsUrgent() {
        return IsUrgent;
    }

    public void setIsUrgent(Integer IsUrgent) {
        this.IsUrgent = IsUrgent;
    }

    public Integer getNum() {
        return Num;
    }

    public void setNum(Integer Num) {
        this.Num = Num;
    }

    public Date getCreationTime() {
        return CreationTime;
    }

    public void setCreationTime(Date CreationTime) {
        this.CreationTime = CreationTime;
    }

    public Integer getDoctorID() {
        return DoctorID;
    }

    public void setDoctorID(Integer DoctorID) {
        this.DoctorID = DoctorID;
    }

    public Integer getCheckOperID() {
        return CheckOperID;
    }

    public void setCheckOperID(Integer CheckOperID) {
        this.CheckOperID = CheckOperID;
    }

    public Integer getResultOperID() {
        return ResultOperID;
    }

    public void setResultOperID(Integer ResultOperID) {
        this.ResultOperID = ResultOperID;
    }

    public Date getCheckTime() {
        return CheckTime;
    }

    public void setCheckTime(Date CheckTime) {
        this.CheckTime = CheckTime;
    }

    public String getResult() {
        return Result;
    }

    public void setResult(String Result) {
        this.Result = Result;
    }

    public Date getResultTime() {
        return ResultTime;
    }

    public void setResultTime(Date ResultTime) {
        this.ResultTime = ResultTime;
    }

    public Integer getState() {
        return State;
    }

    public void setState(Integer State) {
        this.State = State;
    }

    public Integer getRecordType() {
        return RecordType;
    }

    public void setRecordType(Integer RecordType) {
        this.RecordType = RecordType;
    }

    public static final String ID = "ID";

    public static final String MEDICALID = "MedicalID";

    public static final String REGISTID = "RegistID";

    public static final String ITEMID = "ItemID";

    public static final String NAME = "Name";

    public static final String OBJECTIVE = "Objective";

    public static final String POSITION = "Position";

    public static final String ISURGENT = "IsUrgent";

    public static final String NUM = "Num";

    public static final String CREATIONTIME = "CreationTime";

    public static final String DOCTORID = "DoctorID";

    public static final String CHECKOPERID = "CheckOperID";

    public static final String RESULTOPERID = "ResultOperID";

    public static final String CHECKTIME = "CheckTime";

    public static final String RESULT = "Result";

    public static final String RESULTTIME = "ResultTime";

    public static final String STATE = "State";

    public static final String RECORDTYPE = "RecordType";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Checkapply{" +
        "id=" + id +
        ", MedicalID=" + MedicalID +
        ", RegistID=" + RegistID +
        ", ItemID=" + ItemID +
        ", Name=" + Name +
        ", Objective=" + Objective +
        ", Position=" + Position +
        ", IsUrgent=" + IsUrgent +
        ", Num=" + Num +
        ", CreationTime=" + CreationTime +
        ", DoctorID=" + DoctorID +
        ", CheckOperID=" + CheckOperID +
        ", ResultOperID=" + ResultOperID +
        ", CheckTime=" + CheckTime +
        ", Result=" + Result +
        ", ResultTime=" + ResultTime +
        ", State=" + State +
        ", RecordType=" + RecordType +
        "}";
    }
}
